//
// Created by luolijun on 2021/11/1.
//

#ifndef ROTOTYPESWIDGET_H
#define ROTOTYPESWIDGET_H

#include <QTreeWidget>

#include "FalconDocument.h"

#include "falcon/facade.h"

namespace falcon {

class FacadeRepositoryWidget : public QTreeWidget {
    Q_OBJECT
public:
    FacadeRepositoryWidget(QWidget* parent = nullptr);
    void attach(FalconDocument* doc);

public Q_SLOTS:
    void createPaddingItem(QTreeWidgetItem* item, int column);

private:
    FalconDocument* falconDocument;
};

} // namespace falcon
#endif // ROTOTYPESWIDGET_H
